package com.managertrade.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class OkxOrderResponseDTO {
    private String code;
    private String msg;
    private String inTime;
    private String outTime;
    private List<OrderData> data;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class OrderData {
        private String clOrdId;
        private String ordId;
        private String sCode;
        private String sMsg;
        private String tag;
        private String ts;
    }
}
